<?php

class Exchange extends EMongoDocument {

    public $filename;
    public $fileExt;
    public $contentType;
    public $file;
    public $timestamp;
    public $rates;
    public function attributeLabels() {
        return array(
            'filename' => 'filename',
            'fileExt' => 'fileExt',
            'contentType' => 'contentType',
            'file' => 'file',
            'timestamp' => 'timestamp',
            'rates' => 'rates'
        );
    }
    public static function model($className = __CLASS__) {
        return parent::model($className);
    }

    public function getCollectionName() {
        return 'exchanges';
    }
}

?>
